package com.xbongbong.pro.statistic.enums;

import lombok.Getter;

/**
 * @author weiming
 * @date 2020/9/30 15:53
 */
@Getter
public enum FormulaFunctionEnum {

    ADD(1,"ADD"),
    SUBTRACT(2,"SUBTRACT"),
    MULTIPLY(3,"MULTIPLY"),
    DIVIDE(4,"DIVIDE"),
    AVERAGE(5,"AVERAGE"),
    SUM(6,"SUM"),
    SUMIF(7,"SUMIF"),
    IF(8,"IF");
    /**
     * 枚举值
     */
    private final Integer code;
    /**
     * 名称--中文描述
     */
    private final String name;

    FormulaFunctionEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
